package com.shop.technicalservice.dao.shop;

import java.util.List;

import com.shop.technicalservice.model.shop.Shoptype;

public interface ShoptypeDao {
	
	public Shoptype save(Shoptype transientInstance) throws Exception;
	
	public void delete(Shoptype persistentInstance) throws Exception;
	
	public List findAll() throws Exception;
	
	public Shoptype merge(Shoptype detachedInstance) throws Exception;
	
	public Shoptype findById(java.lang.Integer id)  throws Exception;
	
	public List findByExample(Shoptype instance)  throws Exception;
	
	public List findByProperty(String propertyName, Object value) throws Exception;
	
	public void attachDirty(Shoptype instance)  throws Exception;
	
	
	public void attachClean(Shoptype instance)  throws Exception;
	
	public List findByName(Object name)  throws Exception;
	
}
